package com.cskaoyan.controller.wx;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.wx.WxFeedbackSubmitBO;
import com.cskaoyan.service.wx.WxFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WxFeedbackController {

    @Autowired
    WxFeedbackService wxFeedbackService;

    @RequestMapping("wx/feedback/submit")
    public BaseRespVo wxFeedbackSubmit(@RequestBody WxFeedbackSubmitBO wxFeedbackSubmitBO){
        wxFeedbackService.insertFeedbackSubmit(wxFeedbackSubmitBO);
        return BaseRespVo.ok();
    }
}
